const runtime.arenaL2Bits
7 uses
runtime (current package)
malloc.go#L282: arenaL2Bits = heapAddrBits - logHeapArenaBytes - arenaL1Bits
malloc.go#L286: arenaL1Shift = arenaL2Bits
malloc.go#L291: arenaBits = arenaL1Bits + arenaL2Bits
malloc.go#L755: l2 = (*[1 << arenaL2Bits]*heapArena)(sysAllocOS(unsafe.Sizeof(*l2)))
malloc.go#L895: l2 := (*[1 << arenaL2Bits]*heapArena)(atomic.Loadp(unsafe.Pointer(&h.arenas[i])))
mheap.go#L147: arenas [1 << arenaL1Bits]*[1 << arenaL2Bits]*heapArena
mheap.go#L626: return uint(i) & (1<<arenaL2Bits - 1)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |